import request from '@/utils/http'

// 保存项目更新
export function apiSaveCampaignUpdate(update) {

    const queryData = update
    return request(
         '/api/update/save', queryData, 'post'
    )
}



// 根据活动ID查询该活动的所有更新
export function apiQueryUpdateByCID(campaignId) {

    var params = {
        campaignId: campaignId
    }

    params.page = 1
    params.limit = 10
    params.sidx = 'create_time'
    params.order = 'desc'

    console.log("*****")
    console.log(campaignId)

    return request(
        '/api/update/infoByCID', params, 'post', false
    )
}







